.. _CF Structures: ========================== CF Structures ========================== .. toctree:: :maxdepth: 1 * :ref:`CFeedbackEntry` * :ref:`CFile` * :ref:`CFileException` * :ref:`CFileFind` * :ref:`CFileReaderParms` * :ref:`CFileStatus` * :ref:`CFileView` * :ref:`CFixedAlloc` * :ref:`CFixedAlloc::CNode` * :ref:`CFog` .. _CFeedbackEntry: CFeedbackEntry ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 2 | unsigned short | feedBackId | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | long | int1 | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | long | int2 | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | long | int3 | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | unsigned long | ref1 | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | long | int4 | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | :ref:`CString` | stringIn | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CFile: CFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CFile Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CObject` | m_cObject | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned int | m_hFile | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | int | m_bCloseOnDelete | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | :ref:`CString` | m_strFileName | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CFileException: CFileException ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CFileException Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 12 | :ref:`CException` | m_cException | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | int | m_cause | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | long | m_lOsError | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | :ref:`CString` | m_strFileName | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CFileFind: CFileFind ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CFileFind Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CObject` | m_cObject | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | :ref:`CString` | m_strRoot | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | void\* | m_pFoundInfo | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | void\* | m_pNextInfo | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | void\* | m_hContext | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | int | m_bGotLast | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 1 | char | m_chDirSeparator | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CFileReaderParms: CFileReaderParms ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned char\* | m_pSrc | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned char\* | m_pSrcCurrent | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | int | m_nSrcLength | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CFileStatus: CFileStatus ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | :ref:`CTime` | m_ctime | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 8 | :ref:`CTime` | m_mtime | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 8 | :ref:`CTime` | m_atime | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | long | m_size | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 1 | unsigned char | m_attribute | +------------+----------+----------------------------------------+-------------------------------+ | 0x1D | 1 | unsigned char | _m_padding | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 4 | :ref:`CString` | m_sFullName | +------------+----------+----------------------------------------+-------------------------------+ | | 4 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CFileView: CFileView ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CFileView Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 20 | file_t | f | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 16 | view_t | v | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | int | fileSize | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | long | filePos | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CFixedAlloc: CFixedAlloc ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-----------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned int | m_nAllocSize | +------------+----------+-----------------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned int | m_nBlockSize | +------------+----------+-----------------------------------------------+-------------------------------+ | 0x08 | 4 | :ref:`CPlex`\* | m_pBlocks | +------------+----------+-----------------------------------------------+-------------------------------+ | 0x0C | 4 | :ref:`CFixedAlloc::CNode`\* | m_pNodeFree | +------------+----------+-----------------------------------------------+-------------------------------+ ---- .. _CFixedAllocCNode: CFixedAlloc::CNode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-----------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CFixedAlloc::CNode`\* | pNext | +------------+----------+-----------------------------------------------+-------------------------------+ ---- .. _CFog: CFog ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | float\* | densityLast | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | float\* | densityCurrent | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | float\* | densityNext | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | int | N | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | float | dt | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | float | diff | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | float | visc | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | float | force | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 4 | float | source | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | int | dvel | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | float\* | u | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | float\* | v | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 4 | float\* | u_prev | +------------+----------+----------------------------------------+-------------------------------+ | 0x34 | 4 | float\* | v_prev | +------------+----------+----------------------------------------+-------------------------------+ | 0x38 | 4 | float\* | dens | +------------+----------+----------------------------------------+-------------------------------+ | 0x3C | 4 | float\* | dens_prev | +------------+----------+----------------------------------------+-------------------------------+ | 0x40 | 1 | bool | pointEnabled | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x44 | 4 | int | pointAmount | +------------+----------+----------------------------------------+-------------------------------+ | 0x48 | 4 | int | pointDuration | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C | 8 | :ref:`CPoint` | pointPos | +------------+----------+----------------------------------------+-------------------------------+ | 0x54 | 4 | float | pointUForce | +------------+----------+----------------------------------------+-------------------------------+ | 0x58 | 4 | float | pointVForce | +------------+----------+----------------------------------------+-------------------------------+ | 0x5C | 8 | :ref:`CPoint` | explosionPos | +------------+----------+----------------------------------------+-------------------------------+ | 0x64 | 4 | int | updateCounter | +------------+----------+----------------------------------------+-------------------------------+ | 0x68 | 1 | bool | fading | +------------+----------+----------------------------------------+-------------------------------+ | 0x69 | 1 | bool | initialized | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x6C | 4 | float | alpha | +------------+----------+----------------------------------------+-------------------------------+ | 0x70 | 4 | int | contrast | +------------+----------+----------------------------------------+-------------------------------+ | 0x74 | 4 | unsigned long | innerColor | +------------+----------+----------------------------------------+-------------------------------+ | 0x78 | 4 | unsigned long | outerColor | +------------+----------+----------------------------------------+-------------------------------+